<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
include_once("../controller/salse.php");
?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="../css/<? echo $theme_folder ?>/user.css" rel="stylesheet" type="text/css"/>
    <?php include ROOT_PATH_.'/controller/common/module/head.php'; ?>
    <?php include 'modules/head.php'; ?>
</head>


<body>

<div id="topbar">
    <?php include ROOT_PATH_.'/controller/common/module/topbar.php'; ?>
</div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/module/sidebar.php'; ?>
        </div>


        <div id="content">
            <?php $page_title='销售设置';?>
            <?php include ROOT_PATH_.'/controller/common/module/mod-page-title.php'; ?>


 
                <form action="salse-function.php?nav-itemed=setting" method="post">
                    <div class=" detail-box layui-form">
                        <br/>

                        <div class="layui-form-item">
                            <label class="layui-form-label">汇率</label>

                            <div class="layui-input-block">
                                <input type="number" step="0.0000001" name="ai_exchange" class="layui-input" required
                                       lay-verify="required" placeholder="请输入汇率" autocomplete="off" value="<?echo $salse_set[0]['exchange']?>"/>
                            </div>
                        </div>


                        <div class="layui-form-item">
                            <label class="layui-form-label">税率</label>

                            <div class="layui-input-block">
                                <input type="number" step="0.0000001" name="ai_shuilv" class="layui-input" required
                                       lay-verify="required" placeholder="请输入税率" autocomplete="off" value="<?echo $salse_set[0]['shuilv']?>"/>
                            </div>
                        </div>



                       <div class="layui-form-item">
                        <label class="layui-form-label"></label>

                        <div class="layui-input-block">
                            <input type="number" step="0.0000001" name="ai_shuilv" class="layui-input" required
                                   lay-verify="required" placeholder="请输入税率" autocomplete="off" value="<?echo $salse_set[0]['shuilv']?>"/>
                        </div>
                    </div>



<div class="layui-form-item auto-switch">
<label class="layui-form-label">验证手机 : </label>
<div class="layui-input-block">
<input type="checkbox" name="ai_checkphone" lay-skin="switch" placeholder="" lay-text="ON|OFF" value="1"
<? if($detail['checkphone']){echo "checked=''";}?>>
</div>
</div>




                        <div class="layui-form-item">
                            <label class="layui-form-label">通知邮箱</label>

                            <div class="layui-input-block">
                                <input type="email"  name="ai_mailbox" class="layui-input" required
                                       lay-verify="required" placeholder="请输入邮箱" autocomplete="off" value="<?echo $salse_set[0]['mailbox']?>"/>
                            </div>
                        </div>


                        <div class="function">
                                <button class="layui-btn">立即提交</button>
                                <button class="layui-btn" type="reset">重置</button>

                        </div>
                    </div>
                </form>

            </div>
        </div>


    <?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>


</body>
</html>

